package com.mytomcat.catalina.servlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * JspServlet类
 *
 * @author supu
 * @date 2019-04-22 10:00
 **/
public class DefaultServlet extends HttpServlet {
    private static final long serialVersionUID = -4552835361728030036L;

    private static final Logger LOGGER = LoggerFactory.getLogger(DefaultServlet.class);

    @Override
    public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        LOGGER.info("DefaultServlet service is request");

        response.setStatus(200);
    }
}
